package com.sen.Easy;

import org.junit.Test;

import static org.junit.Assert.*;

public class L001_Two_SumTest {
    L001_Two_Sum ts = new L001_Two_Sum();
    @Test
    public void twoSum_brute() {
        int[] input = {2, 7, 11, 15};
        int[] output = {0, 1};
        int target = 9;
        assertArrayEquals(output, twoSum_brute(input, target));
    }

    private int[] twoSum_brute(int[] input, int target) {
        return ts.twoSum_brute(input, target);
    }

}